package com.example.mydemo.service;

import com.example.mydemo.dto.DTO;
import com.example.mydemo.entity.Test;

import java.util.List;

public interface StudentService {
    DTO getStudentById(Integer id);
    DTO createStudent(Test  test);
    void deleteStudent(Integer id);
    List<Test> findbyName(String name);
    DTO updateStudent(Integer id,Test test);
}

